Address of thread object pertaining to current thread. Start and end of address space allocated for garbage collection. Describes the type of thread if it is a thread used by the runtime. The possible
values are shown below.
Threads
Lists managed threads.
Syntax
!Threads
Parameters
None
Example
0:001> !Threads
ThreadCount: 6
UnstartedThread: 0
BackgroundThread: 6
PendingThread: 0
DeadThread: 0
PreEmptive GC Alloc Lock
ID ThreadOBJ State GC Context Domain Count APT Exception
1 70 00150c98 200a220 Enabled 010a513c:010a6228 001a57b8 1 MTA
8 e5c 0015e338 b220 Enabled 00000000:00000000 00150718 0 MTA (Finalizer)
9 e90 00164ba8 1800220 Enabled 0108c3cc:0108e1f0 00150718 0 MTA (Threadpool Worker)
4 4cc 001ad5f0 2000220 Enabled 010abc64:010ac228 001a57b8 1 MTA
11 e38 001d6598 2000220 Enabled 051a69e4:051a6fa8 001a57b8 1 MTA
13 98c 0020e8b8 1800220 Enabled 0519f574:051a0fa8 00150718 0 MTA (Threadpool Worker)
Output
ThreadCount
Number of managed threads
UnstartedThread
Number of unstarted managed threads
BackgroundThread
Number of managed background threads
PendingThread
Number of pending managed threads
DeadThread
Number of dead threads
ID
Thread ID (hex).
ThreadObj
State
Bitmasked DWORD of thread states
PreEmptive GC
Enabled or Disabled. Indicates whether garbage collections
is scheduled cooperatively with this thread.
GC Alloc Context
Domain
Address of domain this thread belongs to. Use the DumpDomain command for
information about the domain.
Lock Count
APT
Apartment threading model. This can be STA, MTA, NTA (neutral) or Unk
(unknown).
Exception
finalizer
GC
Theadpool Worker
Threadpool Completion Port